import { Avatar } from 'antd';
import { User } from 'my-web-core/auth';

import '@/features/users/components/UserAvatar.css';

export default function UserAvatar(props: User) {
  return (
    <div className="UserAvatar-container">
      <Avatar src={props.avatarUrl} />
      <div style={{ marginLeft: '5px' }}>{props.fullName}</div>
    </div>
  );
}
